package com.smart.sentinel.consumer.controller;

import com.smart.sentinel.consumer.service.ExampleService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ConsumerController {
    @Resource
    ExampleService exampleService;

    @GetMapping("/test")
    public String test() {
        return exampleService.test();
    }
}
